home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Enigma Amiga Life 109
/
EnigmaAmiga109CD.iso
/
dalla rivista
/
host contacted
/
jikes.lha
/
jikes-1.11
/
src
/
tab.h
< prev
next >
Wrap
C/C++ Source or Header
|
2000-01-06
|
806b
|
34 lines
// $Id: tab.h,v 1.5 2000/01/06 06:46:47 lord Exp $
//
// This software is subject to the terms of the IBM Jikes Compiler
// License Agreement available at the following URL:
// http://www.ibm.com/research/jikes.
// Copyright (C) 1996, 1998, International Business Machines Corporation
// and others. All Rights Reserved.
// You must accept the terms of that agreement to use this software.
//
#ifndef tab_INCLUDED
#define tab_INCLUDED
#include "config.h"
#ifdef HAVE_WCHAR_H
# include <wchar.h>
#endif
#include <string.h>
class Tab
{
public:
enum { DEFAULT_TAB_SIZE = 8 };
inline static int TabSize() { return tab_size; }
inline static void SetTabSize(int value) { tab_size = value; }
static int Wcslen(wchar_t *line, int start, int end);
private:
static int tab_size;
};
#endif